package com.longai.vo;

import com.longai.model.MomentComment;

public class MomentCommentVo {
    private int momentcommentId;
	private String nickName;
	private String content;
	private long pubTime;
	private int userId;
	private int momentId;
	
	public MomentCommentVo () {
		
	}
	
	public MomentCommentVo(MomentComment momentComment){
		this.setContent(momentComment.getMomentcommentcontent());
		this.setMomentcommentId(momentComment.getMomentcommentId());
		this.setMomentId(momentComment.getMoment().getMomentId());
		this.setNickName(momentComment.getUser().getNickname());
		this.setPubTime(momentComment.getMomentcontentpubtime());
		this.setUserId(momentComment.getUser().getUserId());
	}
	
	public MomentCommentVo(int momentcommentId, String nickName,
			String content, long pubTime, int userId, int momentId) {
		super();
		this.momentcommentId = momentcommentId;
		this.nickName = nickName;
		this.content = content;
		this.pubTime = pubTime;
		this.userId = userId;
		this.momentId = momentId;
	}
	public Integer getMomentcommentId() {
		return momentcommentId;
	}
	public void setMomentcommentId(int momentcommentId) {
		this.momentcommentId = momentcommentId;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public long getPubTime() {
		return pubTime;
	}
	public void setPubTime(long pubTime) {
		this.pubTime = pubTime;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getMomentId() {
		return momentId;
	}
	public void setMomentId(int momentId) {
		this.momentId = momentId;
	}
}
